const _ywsjList = ['移网主卡,ywzk,YW_0009', '5G主卡,5g,YW_0010', '副卡,fk,YW_0011']
const _kdList = ['宽带,kd,KD_0008', '真千兆,qz,KD_0009']
const _zjcpList = ['FTTR,fttr,ZJ_0005', '组网,wjzw,ZJ_0003', 'IPTV,iptv,ZJ_0004', '沃家神眼,wjsy,ZJ_0002',]
const _jfList = ['派单量,pdl', '在途量,ztl', '竣工量,jgl', '退单量,tdl']
const _jfTitleList = ['装机', '移机', '修机']
const _zjcpIPTVList = ['FTTR,fttr,ZJ_0005', '组网,wjzw,ZJ_0003', 'IPTV,iptv,ZJ_0004', '沃家神眼,wjsy,ZJ_0002',]
const _zyxBigList = ['移网手机,YW_SJ_FZ', '宽带,KD_FZ', 'FTTR,JF_FTTR']


const filterList = (list, target = '') => {
    return list.map((item, index) => {
        const currentItem = item.split(',')
        return {
            label: currentItem[0],
            model: currentItem[1],
            mbModel: currentItem[1] + 'mb',
            kpiCode: currentItem[2] || ''
        }
    })
}

// 转换交付模块数据列表
const jfCodeListConfig = {
    '装机,zj': {
        pdl: 'JF_0001',
        ztl: 'JF_0002',
        jgl: 'JF_0003',
        tdl: 'JF_0004'
    },
    '移机,yj': {
        pdl: 'JF_0005',
        ztl: 'JF_0006',
        jgl: 'JF_0007',
        tdl: 'JF_0008'
    },
    '修机,xj': {
        pdl: 'JF_0009',
        ztl: 'JF_0010',
        jgl: 'JF_0011',
        tdl: 'JF_0012' // 没有用到这个字段
    },
}
const getJfListConfig = () => {
    return Object.keys(jfCodeListConfig).map((item, index) => {
        const cur = item.split(',')
        let tempJfList = [..._jfList]
        // 修机没有退单量
        cur[0] === '修机' && (tempJfList.pop());
        const obj = {
            title: cur[0],
            list: tempJfList.map((ite, ind) => {
                const currentItem = ite.split(',')
                return {
                    label: currentItem[0],
                    model: cur[1] + currentItem[1],
                    mbModel: cur[1] + currentItem[1] + 'mb',
                    kpiCode: jfCodeListConfig[item][currentItem[1]]
                }
            })
        }
        return obj
    })
}
const jfListConfig = getJfListConfig()

let _ywsjListV2 = filterList(_ywsjList)
const _kdListV2 = filterList(_kdList)
const _zjcpListV2 = filterList(_zjcpList)
const _jfListV2 = filterList(_jfList)
const _zjcpIPTVListV2 = filterList(_zjcpIPTVList)
const _zyxBigListV2 = filterList(_zyxBigList)

// 曹月增返回的数据都是统一的
const _cyzCallbackData = {
    dataModel: {
        // 移网手机
        ywzkmb: 'YW_ZK_DEV_TAR',
        ywzk: 'YW_ZK_DEV',
        '5gmb': '5G_ZK_DEV_TAR',
        '5g': '5G_ZK_DEV',
        fkmb: 'FK_ZK_DEV_TAR',
        fk: 'FK_ZK_DEV',
        // 宽带
        kdmb: 'KD_DEV_TAR',
        kd: 'KD_DEV',
        qzmb: 'ZQZ_DEV_TAR',
        qz: 'ZQZ_DEV',
        // 智家产品
        wjsymb: 'WJSY_DEV_TAR',
        wjsy: 'WOSY_DEV',
        wjzwmb: 'YY_',
        wjzw: 'WJZW_DEV',
        wjgh: 'WJGH_DEV',
        wjghmb: 'WJGH_DEV_TAR',
        // fttr
        fttr: 'FTTR_DEV',
        fttrmb: 'FTTR_DEV_TAR',
        // 总数
        ywsjtotal: 'YW_SJ_DEV',
        kdtotal: 'KD_ALL_DEV',
        zjcptotal: 'ZJCP_DEV',

        iptv: 'IPTV_DEV',
        iptvmb: 'IPTV_DEV_TAR',

        // 装机
        // zjpdl: 'ZJ_PDL',
        // zjztl: 'ZJ_ZTL',
        // zjjgl: 'ZJ_JGL',
        // zjtdl: 'ZJ_TDL',
        // // 移机
        // yjpdl: 'YJ_PDL',
        // yjztl: 'YJ_ZTL',
        // yjjgl: 'YJ_JGL',
        // yjtdl: 'YJ_TDL',
        // // 修机
        // xjpdl: 'XJ_PDL',
        // xjztl: 'XJ_ZTL',
        // xjjgl: 'XJ_JGL',
        // xjtdl: '',
        // 装机
        zjpdl: 'JF_0001',
        zjztl: 'JF_0002',
        zjjgl: 'JF_0003',
        zjtdl: 'JF_0004',
        // 移机
        yjpdl: 'JF_0005',
        yjztl: 'JF_0006',
        yjjgl: 'JF_0007',
        yjtdl: 'JF_0008',
        // 修机
        xjpdl: 'JF_0009',
        xjztl: 'JF_0010',
        xjjgl: 'JF_0011',
        xjtdl: '',
    },
    data: {
        "grid_name": "",
        "YW_SJ_DEV": 0,
        "YW_ZK_DEV": 0,
        "YW_ZK_DEV_TAR": "",
        "5G_ZK_DEV": 0,
        "5G_ZK_DEV_TAR": "",
        "FK_ZK_DEV": 0,
        "FK_ZK_DEV": "",
        "KD_ALL_DEV": 0,
        "KD_DEV": 0,
        "KD_DEV_TAR": "",
        "ZQZ_DEV": 0,
        "ZQZ_DEV_TAR": "",
        "ZJCP_DEV": 0,
        "WOSY_DEV": 0,
        "WJZW_DEV": 0,
        "IPTV_DEV": 0,
        IPTV_DEV_TAR: 0,
        "FTTR_DEV": 0,
        "FTTR_DEV_TAR": "",


        "ZJ_PDL": 0,
        "ZJ_ZTL": 0,
        "ZJ_JGL": 0,
        "ZJ_TDL": 0,
        "YJ_PDL": 0,
        "YJ_ZTL": 0,
        "YJ_JGL": 0,
        "YJ_TDL": 0,
        "XJ_PDL": 0,
        "XJ_ZTL": 0,
        "XJ_JGL": 0
    }
}

// 罗超鸿返回的数据
const _lchCallbackData = {
    dataModel: {
        ywzkmb: 'YW_ZK_FZ_MB',
        ywzk: 'YW_ZK_FZ',

        '5gmb': 'ZK_5G_FZ_MB',
        '5g': 'ZK_5G_FZ',

        fkmb: 'FK_FZ_MB',
        fk: 'FK_FZ',

        kdmb: 'KD_MB',
        kd: 'KD_FZ',

        qzmb: 'ZQZ_FZ_MB',
        qz: 'ZQZ_FZ',

        wjsymb: 'WJSY_FZ_MB',
        wjsy: 'WJSY_FZ',

        wjzwmb: 'WJZW_FZ_MB',
        wjzw: 'WJZW_FZ',

        wjghmb: 'WJGH_FZ_MB',
        wjgh: 'WJGH_FZ',

        iptv: 'IPTV_FZ',
        iptvmb: 'IPTV_FZ_MB',

        ywsjtotal: 'YW_SJ_FZ',
        kdtotal: 'KD_FZ',

        zjcptotal: 'ZJCP_FZ',
        fttr: 'FTTR_FZ',
        fttrmb: 'FTTR_FZ_MB',

        zjpdl: 'ZJ_PDL',
        zjztl: 'ZJ_ZTL',
        zjjgl: 'ZJ_JGL',
        zjtdl: 'ZJ_TDL',

        yjpdl: 'YJ_PDL',
        yjztl: 'YJ_ZTL',
        yjjgl: 'YJ_JGL',
        yjtdl: 'YJ_TDL',

        xjpdl: 'XJ_PDL',
        xjztl: 'XJ_ZTL',
        xjjgl: 'XJ_JGL',
        xjtdl: 'XJ_TDL',
    },
    data: {
        YW_SJ_FZ: 0,
        YW_ZK_FZ: 0,
        YW_ZK_FZ_MB: 0,
        ZK_5G_FZ: 0,
        ZK_5G_FZ_MB: 0,
        FK_FZ: 0,
        FK_FZ_MB: 0,
        KD_ZFZ: 0,
        KD_FZ: 0,
        KD_MB: 0,
        ZQZ_FZ: 0,
        ZQZ_FZ_MB: 0,
        ZJCP_FZ: 0,

        WJSY_FZ: 0,
        WJZW_FZ: 0,
        IPTV_FZ: 0,
        WJSY_FZ_MB: 0,
        WJZW_FZ_MB: 0,
        IPTV_FZ_MB: 0,

        FTTR_FZ: 0,
        FTTR_FZ_MB: 0,
        ZJ_PDL: 0,
        ZJ_ZTL: 0,
        ZJ_JGL: 0,
        ZJ_TDL: 0,
        ZJ_PDL: 0,
        YJ_ZTL: 0,
        YJ_JGL: 0,
        YJ_JGL: 0,
        XJ_PDL: 0,
        XJ_ZTL: 0,
        XJ_JGL: 0,
    }
}

const yyxDataConfig = {
    dataModel: {
        ywzkmb: 'YY_YW_ZK_FZ_MB',
        ywzk: 'YY_YW_ZK_FZ',
        '5gmb': 'YY_ZK_5G_FZ_MB',
        '5g': 'YY_ZK_5G_FZ',
        fkmb: 'YY_FK_FZ_MB',
        fk: 'YY_FK_FZ',
        kdmb: 'YY_KD_MB',
        kd: 'YY_KD_FZ',
        qzmb: 'YY_ZQZ_FZ_MB',
        qz: 'YY_ZQZ_FZ',
        wjsymb: 'YY_WJSY_FZ_MB',
        wjsy: 'YY_WJSY_FZ',
        wjzwmb: 'YY_WJZW_FZ_MB',
        wjzw: 'YY_WJZW_FZ',
        wjghmb: 'YY_WJGH_FZ_MB',
        wjgh: 'YY_WJGH_FZ',
        iptv: 'YY_IPTV_FZ',
        ywsjtotal: 'YY_YW_SJ_FZ',

        kdtotal: 'YY_KD_ZFZ',
        zjcptotal: 'YY_ZJCP_FZ',
        fttr: 'YY_FTTR_FZ',
        fttrmb: 'FTTR_FZ_MB',
    },
    data: {
        YY_YW_SJ_FZ: 0,
        YY_YW_ZK_FZ: 0,
        YY_YW_ZK_FZ_MB: '',
        YY_ZK_5G_FZ: 0,
        YY_ZK_5G_FZ_MB: '',
        YY_FK_FZ: 0,
        YY_FK_FZ_MB: '',
        YY_KD_ZFZ: '',
        YY_KD_FZ: 0,
        YY_KD_MB: '',
        YY_ZQZ_FZ: 0,
        YY_ZQZ_FZ_MB: '',
        YY_ZJCP_FZ: 0,


        YY_WJSY_FZ: 0,
        YY_WJSY_FZ_MB: 0,
        YY_WJZW_FZ: 0,
        YY_WJGH_FZ_MB: 0,
        YY_WJGH_FZ_MB: 0,
        YY_WJGH_FZ: 0,

        YY_IPTV_FZ: 0,
        YY_FTTR_FZ: 0,
        FTTR_FZ_MB: '',
        YY_ZJ_PDL: 0,
        YY_ZJ_ZTL: 0,
        YY_ZJ_JGL: 0,
        YY_ZJ_TDL: 0,
        YY_ZJ_PDL: 0,


    }
}

const zjxDataConfig = {
    dataModel: { ..._cyzCallbackData.dataModel },
    data: { ..._cyzCallbackData.data }
}

const bqDataConfig = {
    dataModel: { ..._cyzCallbackData.dataModel },
    data: { ..._cyzCallbackData.data }
}

const sqxDataConfig = {
    dataModel: { ..._cyzCallbackData.dataModel },
    data: { ..._cyzCallbackData.data }
}

const _yytmxDataModel = _lchCallbackData.dataModel
const _rymxDataModel = _lchCallbackData.dataModel


const firstPageApiConfig = {
    morning: [
        {
            url: '8a31cdd68a7e768a018ac6ad23fc0018',
            resultParamsName: 'zl',
            loading: 'fzLoading'
        },
        {
            url: '8a31cdd68a7e768a018ac6c06bcf0019',
            resultParamsName: 'zyx',
            loading: 'zyxLoading',
        },
        {
            url: '8a31cdd68a7e768a018ac6d132a4001c',
            dataType: 'Array',
            requestPostHook: 'bqHooks',
            loading: 'bqLoading'
        },
    ],
    evening: [
        {
            url: '8a31cdd68a7e768a018acc1212800025',
            resultParamsName: 'zl',
            loading: 'fzLoading'

        },
        {
            url: '8a31cdd68a7e768a018acc142c390026',
            resultParamsName: 'zyx',
            loading: 'zyxLoading'

        },
        {
            url: '8a31cdd68a7e768a018acc1556ae0027',
            requestPostHook: 'bqHooks',
            loading: 'bqLoading',
            dataType: 'Array',
        },
    ],
}

const detailPageApiConfig = {
    morning: {
        yyx: [
            {
                url: '8a31cdd68a7e768a018ac6cff59d001b', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'
            },
            {
                url: '8a31cdd68a7e768a018ac70a46290020', // OK
                resultParamsName: 'yytmx',
                dataType: 'Array',
                loading: 'yytLoading',
                requestPostHook: 'yytmxHooks',
            },
            // {
            //     url: '8a31cdd68a7e768a018aca3ce2f80021',
            //     resultParamsName: 'rymx',
            //     dataType: 'Array',
            //     loading: 'rymxLoading'
            // },
        ],
        sqx: [
            {
                url: '8a31cdd68a7e768a018ac6da7eb9001e', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'

            },
            {
                url: '8a31cdd68a7e768a018ac6f9e7dc001f', // OK
                resultParamsName: 'sqx',
                dataType: 'Array',
                loading: 'sqxLoading'
            },
            {
                url: '8a31cdd68a7e768a018acb47a31e0022',
                resultParamsName: 'rymx',
                dataType: 'Array',
                loading: 'rymxLoading'
            },
        ],
        zjx: [
            {
                url: '8a31cdd68a7e768a018ac6d26bdb001d', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'

            },
            {
                url: '8a31cdd68a7e768a018acb48f0310023',
                resultParamsName: 'rymx',
                dataType: 'Array',
                loading: 'rymxLoading'

            },
        ],
        bq: [
            {
                url: '8a31cdd68a7e768a018ac6c4dc0f001a', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'
            },
            // {
            //     url: '8a31cdd68a7e768a018acb4a2f560024',
            //     resultParamsName: 'rymx',
            //     dataType: 'Array',
            //     loading: 'rymxLoading'
            // },
            {
                url: '8a31cdd68b28dfb0018b28dfb0c70000',
                dataType: 'Array',
                loading: 'mbscLoading',
                requestPostHook: 'mbscHook'
            }
        ],
    },
    evening: {
        yyx: [
            {
                url: '8a31cdd68a7e768a018acc16eb8e0028', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'
            },
            {
                url: '8a31cdd68a7e768a018acc598c420031', // OK
                resultParamsName: 'yytmx',
                dataType: 'Array',
                loading: 'yytLoading',
                requestPostHook: 'yytmxHooks',
            },
            // {
            //     url: '8a31cdd68a7e768a018acc5883ea0030',
            //     resultParamsName: 'rymx',
            //     dataType: 'Array',
            //     loading: 'rymxLoading'
            // },
        ],
        sqx: [
            {
                url: '8a31cdd68a7e768a018acc194d600029', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'

            },
            {
                url: '8a31cdd68a7e768a018acc578cfc002f', // OK
                resultParamsName: 'sqx',
                dataType: 'Array',
                loading: 'sqxLoading'
            },
            {
                url: '8a31cdd68a7e768a018acc567430002e',
                resultParamsName: 'rymx',
                dataType: 'Array',
                loading: 'rymxLoading'


            },
        ],
        zjx: [
            {
                url: '8a31cdd68a7e768a018acc467d99002d', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'

            },
            {
                url: '8a31cdd68a7e768a018acc454103002c',
                resultParamsName: 'rymx',
                dataType: 'Array',
                loading: 'rymxLoading'
            },
        ],
        bq: [
            {
                url: '8a31cdd68a7e768a018acc43bf03002b', // OK
                resultParamsName: 'zlData',
                loading: 'zlLoading'
            },
            // {
            //     url: '8a31cdd68a7e768a018acc422ddf002a',
            //     resultParamsName: 'rymx',
            //     dataType: 'Array',
            //     loading: 'rymxLoading'
            // },
            {
                url: '2c3a07178ba92724018bcb9b189a0010',
                resultParamsName: 'mbsc',
                dataType: 'Array',
                loading: 'mbscLoading'
            },
        ],
    },
}

// 人员明细弹窗url配置
const yrmxDialogUrlConfig = {
    morning: {
        yyx_yyt: '8a31cdd68a7e768a018ad0fe8ad20033', // 营业线-营业厅
        yyx_rymx: '8a31cdd68a7e768a018ad0fc3a710032', // 营业线-人员明细
        zjx_fz_rymx: '8a31cdd68a7e768a018ad0fc3a710032', // 智家线-发展-人员明细
        zjx_jf_rymx: '2c3a07178ba92724018bb86576c40005', // 智家线-交付-人员明细
        bq_mbsc: '2c3a07178ba92724018c003614a20027', // 包区-目标市场 
        sqx_rymx: '8a31cdd68a7e768a018ad0fc3a710032', // 社渠线-人员明细

        yyx_fz_zl: '2c3a07178ba92724018bb3eac4070003', // 营业线-发展-总览
        sqx_fz_zl: '2c3a07178ba92724018bb3eac4070003', // 社渠线-发展-总览
        zjx_fz_zl: '2c3a07178ba92724018bb3eac4070003', // 智家线-发展-总览
        zjx_jf_zl: '2c3a07178ba92724018bb86576c40005', // 智家线-交付-总览
        bq_fz_zl: '2c3a07178ba92724018bb47eecb60004', // 包区-发展-总览
        bq_jf_zl: '2c3a07178ba92724018bff197bf00023', // 包区-交付-总览

        zl_fz: '2c3a07178ba92724018bb316e8550002',
        zl_jf: '2c3a07178ba92724018bb86576c40005',
        zl_fz_tab: '2c3a07178ba92724018c4777e129003e'
    },
    evening: {
        yyx_yyt: '8a31cdd68a7e768a018aff39c1250035', // 营业线-营业厅
        yyx_rymx: '2c3a07178ba92724018bc8128d1d000f', // 营业线-人员明细
        zjx_fz_rymx: '2c3a07178ba92724018bc8128d1d000f', // 智家线-发展-人员明细
        zjx_jf_rymx: '2c3a07178ba92724018bc3bc3039000b', // 智家线-交付-人员明细
        bq_mbsc: '2c3a07178ba92724018c001cd1df0026', // 包区-目标市场 
        sqx_rymx: '2c3a07178ba92724018bc8128d1d000f', // 社渠线-人员明细

        yyx_fz_zl: '2c3a07178ba92724018bc3b47b30000a', // 营业线-发展-总览
        sqx_fz_zl: '2c3a07178ba92724018bc3b47b30000a', // 社渠线-发展-总览
        zjx_fz_zl: '2c3a07178ba92724018bc3b47b30000a', // 智家线-发展-总览
        zjx_jf_zl: '2c3a07178ba92724018bc3bc3039000b', // 智家线-交付-总览
        bq_fz_zl: '2c3a07178ba92724018bc80ede9c000e', // 包区-发展-总览
        bq_jf_zl: '2c3a07178ba92724018bff12293e0022', // 包区-交付-总览

        zl_fz: '2c3a07178ba92724018bc3b1a9480008',
        zl_jf: '2c3a07178ba92724018bc3bc3039000b',
        zl_fz_tab: '2c3a07178ba92724018c47858dd7003f'
    },
}


// 营业厅明细弹窗url配置
const yytDialogUrlConfig = {
    morning: '8a31cdd68a7e768a018ad0fe8ad20033',
    evening: '8a31cdd68a7e768a018aff39c1250035',
}


const _thirdDetailDialogTableColumnsConfig = {
    YW: [
        {
            title: '序号',
            align: 'center',
            width: 60,
            scopedSlots: { customRender: 'xuhao' },
        },
        {
            title: '用户号码',
            dataIndex: 'SERIAL_NUMBER',
            align: 'center',
            width: 120,
        },
        {
            title: '产品名称',
            dataIndex: 'PRODUCT_DESC',
            align: 'center',
            width: 200
        },
        {
            title: '入网时间',
            dataIndex: 'OPEN_DATE',
            align: 'center',
            width: 130,
        },
        {
            title: '发展渠道',
            dataIndex: 'DEVELOP_DEPART_NAME',
            align: 'center',
            width: 200
        },
        {
            title: '发展渠道归属营服',
            dataIndex: 'CHNL_GRID_NAME',
            align: 'center',
            scopedSlots: { customRender: 'chnlGridName' },
            width: 200
        },
        // {
        //   title: '套餐费',
        //   dataIndex: 'RENT_FEE',
        //   align: 'center',
        //   width: 80,
        // },
        {
            title: '发展人编码',
            dataIndex: 'DEVELOP_STAFF_ID',
            align: 'center',
            width: 100,
        },
        // {
        //   title: '发展人OA工号',
        //   dataIndex: 'STAFF_ID',
        //   align: 'center',
        //   width: 110,
        //   customRender: value => value == 'NULL' ? "" : value
        // },
        {
            title: '发展人姓名',
            dataIndex: 'DEVELOP_STAFF_NAME',
            align: 'center',
            width: 200,
        },
        {
            title: '发展人归属营服',
            dataIndex: 'DEV_GRID_NAME',
            align: 'center',
            customRender: value => value == 'NULL' ? "" : value,
            width: 200
        },
    ],
    KD: [
        {
            title: '序号',
            align: 'center',
            width: 60,
            scopedSlots: { customRender: 'xuhao' },
        },
        {
            title: '用户号码',
            dataIndex: 'SERIAL_NUMBER',
            align: 'center',
            width: 130,
        },
        {
            title: '产品名称',
            dataIndex: 'PRODUCT_DESC',
            align: 'center',
            width: 130,
        },
        {
            title: '入网时间',
            dataIndex: 'OPEN_DATE',
            align: 'center',
            width: 130,
        },
        {
            title: '目标市场',
            dataIndex: 'KD_ADDR',
            align: 'center',
            width: 100,
        },
        {
            title: '发展渠道',
            dataIndex: 'DEVELOP_DEPART_NAME',
            align: 'center',
            width: 200,

        },
        {
            title: '发展渠道归属营服',
            dataIndex: 'CHNL_GRID_NAME',
            align: 'center',
            scopedSlots: { customRender: 'chnlGridName' },
            width: 200,

        },
        // {
        //   title: '套餐费',
        //   dataIndex: 'RENT_FEE',
        //   align: 'center',
        //   width: 80,
        // },
        {
            title: '发展人编码',
            dataIndex: 'DEVELOP_STAFF_ID',
            align: 'center',
            width: 100,
        },
        // {
        //   title: '发展人OA工号',
        //   dataIndex: 'STAFF_ID',
        //   align: 'center',
        //   width: 110,
        //   customRender: value => value == 'NULL' ? "" : value
        // },
        {
            title: '发展人姓名',
            dataIndex: 'DEVELOP_STAFF_NAME',
            align: 'center',
            width: 200,
        },
        {
            title: '发展人归属营服',
            dataIndex: 'DEV_GRID_NAME',
            align: 'center',
            customRender: value => value == 'NULL' ? "" : value,
            width: 200,

        },
    ],
    ZJ: [
        {
            title: '序号',
            align: 'center',
            width: 60,
            scopedSlots: { customRender: 'xuhao' },
        },
        {
            title: '用户号码',
            dataIndex: 'SERIAL_NUMBER',
            align: 'center',
            width: 120,
        },
        {
            title: '产品名称',
            dataIndex: 'PRODUCT_DESC',
            align: 'center',
            width: 200,

        },
        {
            title: '入网时间',
            dataIndex: 'OPEN_DATE',
            align: 'center',
            width: 130,
            // customRender: val => `${val.substr(0,4)}-${val.substr(4,2)}-${val.substr(6,2)}`
        },
        {
            title: '发展渠道',
            dataIndex: 'DEVELOP_DEPART_NAME',
            align: 'center',
            width: 200,

        },
        {
            title: '发展渠道归属营服',
            dataIndex: 'CHNL_GRID_NAME',
            align: 'center',
            scopedSlots: { customRender: 'chnlGridName' },
            width: 200,

        },
        // {
        //   title: '套餐费',
        //   dataIndex: 'RENT_FEE',
        //   align: 'center',
        //   width: 80,
        // },
        {
            title: '发展人编码',
            dataIndex: 'DEVELOP_STAFF_ID',
            align: 'center',
            width: 100,
        },
        // {
        //   title: '发展人OA工号',
        //   dataIndex: 'STAFF_ID',
        //   align: 'center',
        //   width: 110,
        //   customRender: value => value == 'NULL' ? "" : value
        // },
        {
            title: '发展人姓名',
            dataIndex: 'DEVELOP_STAFF_NAME',
            align: 'center',
            width: 120,
        },
        {
            title: '发展人归属营服',
            dataIndex: 'DEV_GRID_NAME',
            align: 'center',
            customRender: value => value == 'NULL' ? "" : value,
            width: 200,

        },
    ],
    JF: [
        {
            title: '序号',
            align: 'center',
            width: 60,
            scopedSlots: { customRender: 'xuhao' },
        },
        {
            title: '接单人',
            dataIndex: 'STAFF_NAME',
            align: 'center',
            width: 100,
        },
        {
            title: '接单人OA工号',
            dataIndex: 'JDR_DEVELOP_ID_OA',
            align: 'center',
            width: 120,
            customRender: val => val == 'NULL' ? '' : val
        },
        {
            title: '营服名称',
            dataIndex: 'grid_name',
            align: 'center',
            width: 200,
        },
        {
            title: '包区',
            dataIndex: 'bq_name',
            align: 'center',
            width: 110,
        },
        {
            title: '目标市场',
            dataIndex: 'VILLAGE_NAME',
            align: 'center',
            width: 140,
        },
        {
            title: '分光器',
            dataIndex: 'FGQ_CODE',
            align: 'center',
            width: 160,
        },
        {
            title: '工单类型',
            dataIndex: 'SERVICE_TYPE',
            align: 'center',
            width: 120,
        },
        {
            title: '工单编号',
            dataIndex: 'ORDER_NUMBER',
            align: 'center',
            width: 160,
        },
        {
            title: '首次派单时间',
            dataIndex: 'FIRST_SEND_TIME',
            align: 'center',
            width: 120,
            customRender: val => val == 'NULL' ? '' : val
        },
        {
            title: '末次派单时间',
            dataIndex: 'END_SEND_TIME',
            align: 'center',
            width: 120,
            customRender: val => val == 'NULL' ? '' : val
        },
        {
            title: '联系用户时间',
            dataIndex: 'CONTACT_TIME',
            align: 'center',
            width: 120,
            customRender: val => val == 'NULL' ? '' : val
        },
        {
            title: '预约开始时间',
            dataIndex: 'BOOKING_START_TIME',
            align: 'center',
            width: 120,
            customRender: val => val == 'NULL' ? '' : val
        },
        {
            title: '预约结束时间',
            dataIndex: 'BOOKING_END_TIME',
            align: 'center',
            width: 120,
            customRender: val => val == 'NULL' ? '' : val
        },
        {
            title: '竣工时间',
            dataIndex: 'COMPLETED_TIME',
            align: 'center',
            width: 120,
            customRender: val => val == 'NULL' ? '' : val
        },
        {
            title: '维护单位',
            dataIndex: 'MAINTAIN_UNIT',
            align: 'center',
            width: 200,
        },
        {
            title: '业务号码',
            dataIndex: 'SERIAL_NUMBER',
            align: 'center',
            width: 140,
        },
        {
            title: '客户编码',
            dataIndex: 'USER_ID',
            align: 'center',
            width: 140,
        },
        {
            title: '客户名称',
            dataIndex: 'CUST_NAME',
            align: 'center',
            width: 110,
        },
        {
            title: '装机地址',
            dataIndex: 'INSTALL_LOCATION',
            align: 'center',
            width: 230,
        },
        {
            title: '用户发展人',
            dataIndex: 'DEV_NAME',
            align: 'center',
            width: 110,
        },
        {
            title: '用户发展渠道',
            dataIndex: 'DEV_CHNL_NAME',
            align: 'center',
            width: 200,
        },
        {
            title: '用户发展渠道归属营服',
            dataIndex: 'DEV_GRID_NAME',
            align: 'center',
            width: 200,
        },
        // {
        //   title: '履约时间',
        //   dataIndex: 'PERFORMENCE_TIME ',
        //   align: 'center',
        //   width: 120,
        // },
    ]
}

const _zyxCallbackData = {
    GRIDID: '',
    DAYID: '',
    YY_YW_SJ_FZ: 0,
    YY_KD_FZ: 0,
    YY_JF_FTTR: 0,
    SQ_YW_SJ_FZ: 0,
    SQ_KD_FZ: 0,
    SQ_JF_FTTR: 0,
    ZJ_YW_SJ_FZ: 0,
    ZJ_KD_FZ: 0,
    ZJ_JF_FTTR: 0,
    ZJ_YW_SJ_FZ: 0,
    ZJ_KD_FZ: 0,
    ZJ_YJ_JGL: 0,
    ZJ_XJ_JGL: 0,
    ZJ_ZJ_JGL: 0,
}

const _zyxDataModel = {

}

const _lchCallbackDataV2 = {
    YW_SJ_FZ: 0,
    YW_ZK_FZ: 0,
    YW_ZK_FZ_MB: 0,
    ZK_5G_FZ: 0,
    ZK_5G_FZ_MB: 0,
    FK_FZ: 0,
    FK_FZ_MB: 0,
    KD_ZFZ: 0,
    KD_FZ: 0,
    KD_MB: 0,
    ZQZ_FZ: 0,
    ZQZ_FZ_MB: 0,
    ZJCP_FZ: 0,

    WJSY_FZ: 0,
    WJZW_FZ: 0,
    IPTV_FZ: 0,
    WJSY_FZ_MB: 0,
    WJZW_FZ_MB: 0,
    IPTV_FZ_MB: 0,

    FTTR_FZ: 0,
    FTTR_FZ_MB: 0,

    ZJ_ZTL: 0,
    ZJ_JGL: 0,
    ZJ_TDL: 0,
    ZJ_PDL: 0,

    YJ_ZTL: 0,
    YJ_JGL: 0,
    YJ_TDL: 0,
    YJ_PDL: 0,

    XJ_PDL: 0,
    XJ_ZTL: 0,
    XJ_JGL: 0,
}

export {
    _jfList, _kdList, _ywsjList, _zjcpList, _jfTitleList,
    _ywsjListV2, _kdListV2, _zjcpListV2, _jfListV2, _zjcpIPTVListV2,
    sqxDataConfig,
    yyxDataConfig, zjxDataConfig, bqDataConfig,
    _yytmxDataModel,
    _rymxDataModel,
    firstPageApiConfig,
    detailPageApiConfig,
    _thirdDetailDialogTableColumnsConfig,
    jfListConfig,
    _lchCallbackData,
    _zyxCallbackData,
    _lchCallbackDataV2,
    _zyxBigListV2,
    yrmxDialogUrlConfig,
    yytDialogUrlConfig
}